import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
// 引入全局样式文件
import '@/assets/css/global.css'
// 引入ElementUI组件
import ElementUI from 'element-ui';
// 引入ElementUI全局样式文件
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

Vue.config.productionTip = false
axios.defaults.baseURI = "http://127.0.0.1:8000"
Vue.prototype.$http = axios

new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app')
